package phoneregistration.service;

import java.io.Serializable;
import java.util.Set;

public interface BaseService<M, ID extends Serializable> {

    Set<M> findAll();

    M findOne(ID id);

    M save(M model);

    void delete(ID id);
}
